import { defineStore} from 'pinia'
import { ref } from 'vue'
import type { DiscountInfo } from '@/types/discount'

export const useDiscountStore = defineStore('discount',() =>{
    const discountInfo = ref<DiscountInfo[]>([
        {
            id:1,
            title:'a'
        },
        {
            id:2,
            title:'b'
        },
        {
            id:3,
            title:'c'
        },
        {
            id:4,
            title:'d'
        }
    ])
    return {
        discountInfo
    }
})